package com.kayt.cyberBar.cyber.business.service;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cyber.business.entity.po.BCyberChainInfo;
import com.kayt.cyberBar.cyber.business.entity.vo.CyberChainInfoVO;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

/**
 * Description
 *
 * @author Kevin
 * @since 12/26/2017 23:15
 */
@Path("/cyberChainInfo")
@Produces({"application/json", "application/xml"})
@Consumes({"application/json"})
public interface ICyberChainInfoService {
	
    @POST
    @Path("save.do")
    ServerResponse save(CyberChainInfoVO info);

    @POST
    @Path("update.do")
    ServerResponse update(CyberChainInfoVO info);

    @POST
    @Path("getInfo.do")
    ServerResponse<BCyberChainInfo> getInfo(CyberChainInfoVO id);

    @POST
    @Path("delete.do")
    ServerResponse<String> delete(CyberChainInfoVO vo);

    @POST
    @Path("getData.do")
    ServerResponse<PageData<BCyberChainInfo>> getData(CyberChainInfoVO vo);
}
